using Rhino.Mocks;

namespace Pentago.Specifications
{
    public static class MockExtensions
    {
        public static void ShouldBeToldTo<MockType>(this MockType mock, System.Action<MockType> action)
        {
            mock.AssertWasCalled(action);
        }
    }
}